package com.aaa.three.service;

import com.aaa.three.pojo.query.NewsQuery;
import com.aaa.three.pojo.vo.NewsVO;
import com.aaa.three.result.AjaxResult;

/**
 * @Description:
 * @Author: whf
 * @Date: 2022/2/14 14:45
 */
public interface NewsService {

    AjaxResult queryNews(NewsQuery newsQuery);

    AjaxResult addNews(NewsVO newsVO);

    AjaxResult updateNews(NewsVO newsVO);

    AjaxResult deleteNews(Integer id);

    AjaxResult getNewsById(Integer id);

    AjaxResult updateQueryNews(Integer id);

    AjaxResult updatePassCondition(Integer id);

    AjaxResult updateFailCondition(NewsVO newsVO);


}
